<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
	<title>上传课程视频-在线学习平台ForFuture</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="ForFuture Group、ForFuturn News,ForFuture Share,ForFuture Shopping" />
	<meta name="keywords" content="在线学习平台，知识共享!共祝教育事业！在线学习、在线教育  ganquanzhong" />
	<meta name="author" content="ganquanzhong.top" />
	<link rel="shortcut icon"	href="https://8.url.cn/edu/edu_modules/edu-ui/img/nohash/favicon.ico">
			
	<base href="<%=basePath%>">
	<link rel="stylesheet" href="resource/bootstrap/css/bootstrap.min.css" >    
	<link rel="stylesheet" href="resource/bootstrap/css/bootstrap-theme.min.css">
	<link rel="stylesheet" href="resource/css/wukong-ui.css">
	<link rel="stylesheet" href="resource/bootstrap/css/bootstrap-select.min.css">
	<script type="text/javascript" src="resource/lib/jquery-3.1.1.js"></script>
	<script type="text/javascript" src="resource/bootstrap/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="resource/bootstrap/js/bootstrap-select.min.js"></script>
</head>

<body>
<div class="row">
    <div class="col-lg-12">
        <ul class="breadcrumb wk-breadcrumb">
            <li><a href="javascript:void(0);">在线学习平台</a></li>
            <li><a href="javascript:void(0);">课程视频管理</a></li>
            <li><a href="javascript:void(0);">上传课程视频</a></li>
        </ul>
    </div>
</div>
    
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default wk-panel ">
                <div class="panel-heading">
                    	上传课程视频 
                </div>
                <form action="<%=basePath%>/addCourseVideo.html" method="POST" enctype="multipart/form-data">
	                <div class="panel-body">
	                    <div class="row">
		                   	<div class="form-inline"> 
		                   		<div class="form-group">
										<label class="control-label wk-filed-label">教授课程: </label> <select
											class="selectpicker" name="courseId">
											<c:forEach items="${courses}" var="var">
												<option value="${var.id}">${var.name}</option>
											</c:forEach>
										</select>
									</div>
		                   	</div>
	                    	
	                      <div class="form-inline">  
	                            <div class="form-group">
	                                <label for="filePath" class="control-label wk-filed-label">选择文件: </label>
	                                 <div class="input-group">
	                                    <input required="required" name="file" type="file" class="form-control wk-long-2col-input" />
	                                </div>
	                            </div>
	                        </div>
	                    </div>
	                 </div>
	
	                <div class="panel-footer wk-panel-footer">
	                    <button type="submit" class="btn btn-default wk-btn">添&nbsp;&nbsp;加</button>
	                </div>
	            </form>
            </div>
        </div>
    </div>

</body>
</html>